#ifndef MYTOOLS_H
#define MYTOOLS_H
#include "QString"
#include "QPixmap"
#include <QDir>
#include <QImage>
#include <QIcon>
#include "robotconst.h"
struct struct_img{
    QPixmap pix;
    QIcon icon;
    QString imgName;
    QImage *img;
};

class mytools{
public:
    static QString getResPath();
    static QString catenatePath();
    static QString getImgPath(QString imgName);
    static struct_img* loadImgByPath(QString imgName);
    static void closeImgByStruct(struct_img *s_img);
private:

};

#endif // TOOLS_H


